package org.lib.mysqlhello.user.repository;

import java.util.List;

import org.lib.mysqlhello.user.entity.User;
import org.springframework.data.repository.CrudRepository;

public interface UserCrudRepository extends CrudRepository<User, Long> {

	/**
	 * 根据姓氏查找
	 * @author ben
	 * @date 2021-08-21 16:35:54 CST
	 * @param lastName
	 * @return
	 */
	List<User> findByLastName(String lastName);
	
}
